package com.zelix;

import java.io.IOException;
import java.io.InputStream;
import java.util.zip.*;

public class zr
{

    private static int a = 0;

    public zr(ZipFile zipfile, ZipEntry zipentry, ZipOutputStream zipoutputstream, ly ly, my my, yx yx1, yg yg, 
            x0 x0, boolean flag)
        throws rb, IOException
    {
        super();
        boolean flag1 = q0.h;
        InputStream inputstream = null;
        try
        {
            sx sx1 = new sx(0);
            sx sx2 = new sx(0);
            sx sx3 = new sx(0x7fffffff);
            String s = y0.a(zipfile.getInputStream(zipentry), sx1, sx2, sx3);
            inputstream = zipfile.getInputStream(zipentry);
            String s1 = yx1.c(zipentry.getName());
            rc rc1 = new rc(zipoutputstream, s1, flag);
            new y0(inputstream, rc1.a(), x0, s, sx1.b(), sx2.b(), sx3.b());
            rc1.b();
        }
        finally
        {
            try
            {
                if(inputstream != null)
                    inputstream.close();
            }
            catch(IOException ioexception) { }
        }
        if(flag1)
        {
            int i = gs.b;
            gs.b = ++i;
        }
    }

}
